﻿namespace BadHabit.XPSTools
{
    using System.IO;
    using System.Windows.Markup;

    /// <summary>
    /// Representes the data required to create a XPS.
    /// Many WPF controls are STA, this class should be use it to pass as parameter for a STA thread.
    /// </summary>
    public class XPSMetaData
    {
        public string SrcXamlFile
        {
            get;
            set;
        }

        public ParserContext Context
        {
            get;
            set;
        }
        
        public Stream SrcXamlStream
        {
            get;
            set;
        }

        public string XsltFile
        {
            get;
            set;
        }
        
        public string XmlData
        {
            get;
            set;
        }
        
        public string XpsFile
        {
            get;
            set;
        }
        
        public string ContextUri
        {
            get;
            set;
        }
        
        public XPSHelper.XPSWriteMode WriteMode
        {
            get;
            set;
        }

        public bool IsFlowDocument
        {
            get;
            set;
        }
    }
}
